package com.ruoyi.zhgd.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 配比   自建-混凝土-配比业务对象 zj_hnt_scale
 *
 * @author yhy
 * @date 2023-09-22
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ZjHntScaleRefBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 主表ID
     */
    @NotNull(message = "主表ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private String matchingId;

    /**
     * 物料用量
     */
    @NotNull(message = "物料用量不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double materialDosage;

    /**
     * 物料配比
     */
    @NotNull(message = "物料配比不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long materialMatching;

    /**
     * 上限
     */
    @NotNull(message = "上限不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double upperLimit;

    /**
     * 下限
     */
    @NotNull(message = "下限不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double lowerLimit;



}
